package acm.蓝桥杯;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.StreamTokenizer;

class Reader2 {
    private StreamTokenizer in=new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));
    public int nextInt(){
        try {
            in.nextToken();
        } catch (IOException e) {
            e.printStackTrace();
        }
        return (int) in.nval;
    }
    public double nextDouble(){
        try {
            in.nextToken();
        } catch (IOException e) {
            e.printStackTrace();
        }
        return in.nval;
    }
}
